#ifndef CARPAGE_H
#define CARPAGE_H

#include <QWidget>
#include<QSqlQuery>
#include<QSqlRecord>
#include<QSqlError>
#include <QDebug>

namespace Ui {
class carpage;
}

class carpage : public QWidget
{
    Q_OBJECT

public:
    explicit carpage(QWidget *parent = nullptr);
    ~carpage();
     void updatecost();

signals:
    void lineEditTextChanged(const QString &newText);//信号

private slots:


    void on_pushButton_clicked();

private:
    Ui::carpage *ui;
};

#endif // CARPAGE_H
